package com.example.jin.myapplication.beatbox;

/**
 * Created by jin on 2016/6/18.
 */
public class Sound {
    private String mPath;
    private String mName;
    public Sound(String path)
    {
        mPath=path;
        String[] s=path.split("/");
        String name=s[s.length-1];
        mName=name.replace(".wav","");
    }
    public String getName()
    {
        return mName;
    }
    public String getPath()
    {
        return mPath;
    }
    Integer mFd;
    public void setFd(int fd){
        mFd=fd;
    }
    public Integer getFd(){
        return mFd;
    }
}
